A fairly simple image storage type using a vertical scan line memory order.
Will automatically deallocate its memory when it goes out of scope. Should not be copied or moved around.
import std.experimental.color; ImageStorageVertical!RGB8 image = ImageStorageVertical!RGB8(1, 1); image.resize(2, 2); assert(image.width == 2); assert(image.height == 2); assert(image[1, 1] == image[0, 0]);
ImageStorage
See Implementation
A fairly simple image storage type using a vertical scan line memory order.
Will automatically deallocate its memory when it goes out of scope. Should not be copied or moved around.